package cn.share.life.module.images.utils;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum HtmlFidAndPathEnums {
    // 14唯美写真 | 15网友自拍 | 16露出激情 | 49美乳美臀 | 21丝袜美腿 | 106卡通漫画 | 114欧美风情 | 210ＡＩ图展
    FidAndPath_1(14, "E:/image/weimeixiezhen/", "images", "web", 10),
    FidAndPath_2(15, "E:/image/wangyouzipai/", "images", "web", 10),
    FidAndPath_3(16, "E:/image/luchujiqing/", "images", "web", 10),
    FidAndPath_4(49, "E:/image/meirumeitun/", "images", "web", 10),
    FidAndPath_5(21, "E:/image/siwameitui/", "images", "web", 10),
//    FidAndPath_106(106, "卡通漫画"),
    FidAndPath_6(114, "E:/image/oumeifengqing/", "images", "web", 10),
    FidAndPath_7(210, "E:/image/aituzhan/", "images", "web", 5),

    FidAndPath_8(3, "E:/news/zuixinheji/", "images", "web", 5),
    FidAndPath_9(5, "E:/news/yazhouwuma/", "images", "web", 5),
    FidAndPath_10(22, "E:/news/yazhouyouma/", "images", "web", 5),
    FidAndPath_49(7, "E:/news/oumeibt/", "images", "web", 5),
    FidAndPath_11(110, "E:/news/guochanbt/", "images", "web", 5),
    FidAndPath_12(219, "E:/news/dongmanbt/", "images", "web", 5),
    FidAndPath_13(18, "E:/news/sanjixiezhen/", "images", "web", 5),

     FidAndPath_14(207, "E:/image_down/dujiajingxuan/", "images", "web", 5),
    FidAndPath_15(204, "E:/image_down/guochanjingpin/", "images", "web", 5),
    FidAndPath_16(240, "E:/image_down/711zhuanqu/", "images", "web", 5),
    FidAndPath_17(246, "E:/image_down/wangbaoheiliao/", "images", "web", 5),
    FidAndPath_18(79, "E:/image_down/yuanchuangduogua/", "images", "web", 5),
    FidAndPath_19(30, "E:/image_down/wantazhuanban/", "images", "web", 5),
    FidAndPath_20(220, "E:/image_down/taotubt/", "images", "web", 5),
    FidAndPath_21(247, "E:/image_down/amengzhuanqu/", "images", "web", 5),

    ;
    private final int fid;
    private final String basePath;
    private final String imagePath;
    private final String urlPath;
    private final int page;

    public static HtmlFidAndPathEnums getEnumByBasePath(String path) {
        for (HtmlFidAndPathEnums value : HtmlFidAndPathEnums.values()) {
            if (path.contains(value.getBasePath())) {
                return value;
            }
        }
        return null;
    }
}
